package com.zzyl.nursing.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper{


    @Select("select user_name from sys_user where user_id = #{userId}")
    String selectNameById(@Param("userId") Long userId);
}
